# -*- coding: utf-8 -*-
# ASI_CAMERA_INFO.py was created by RuanYaoHuang on 2023/4/1.

import ctypes


class ASI_CAMERA_INFO(ctypes.Structure):
    _fields_ = [
        ("Name", ctypes.c_char * 64),
        ("CameraID", ctypes.c_int),
        ("MaxHeight", ctypes.c_long),
        ("MaxWidth", ctypes.c_long),
        ("IsColorCam", ctypes.c_bool),
        ("BayerPattern", ctypes.c_int),
        ("SupportedBins", ctypes.c_int * 16),
        ("SupportedVideoFormat", ctypes.c_int * 8),
        ("PixelSize", ctypes.c_double),
        ("MechanicalShutter", ctypes.c_bool),
        ("ST4Port", ctypes.c_bool),
        ("IsCoolerCam", ctypes.c_bool),
        ("IsUSB3Host", ctypes.c_bool),
        ("IsUSB3Camera", ctypes.c_bool),
        ("ElecPerADU", ctypes.c_float),
        ("BitDepth", ctypes.c_int),
        ("IsTriggerCam", ctypes.c_bool),
        ("Unused", ctypes.c_char * 16)
    ]